@import '/variable.less';

.nav-banner {
  box-sizing: border-box;
  padding: 30rpx;
  height: 400rpx;

  &-swiper {
    height: 300rpx;

    image {
      width: 100%;
      height: 300rpx;
    }
  }
}

.activity-list {
  position: relative;
  margin-top: -30rpx;
  border-radius: 30rpx 30rpx 0 30rpx;
  overflow: hidden;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: @bg-color-white;
  color: @font-color;
  font-size: 24rpx;

  &-item {
    padding: 50rpx 0;
    text-align: center;

    image {
      width: 88rpx;
      height: 88rpx;
    }
  }
}

.campus-style {
  width: 690rpx;
  margin: 0 auto 40rpx;
  position: relative;
  overflow: hidden;
  border-radius: 40rpx;

  &-bg {
    width: 100%;
    height: 100%;
    position: absolute
  }

  .swiper-list {
    display: grid;
    grid-template-columns: repeat(3, 33.33%);

    &-item {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      .item-name {
        font-weight: 600;
        margin: 5rpx 0;
      }

      image {
        width: 94rpx;
        height: 94rpx;
        border: 2rpx solid #ffffff;
        border-radius: 50%;
      }
    }
  }

  .swiper-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 12rpx;
    z-index: 2;
    bottom: 30rpx;
    margin: auto;
  }

  .swiper-nav__item {
    width: 12rpx;
    height: 12rpx;
    background: @red-color;
    border-radius: 50%;
    margin: 0 10rpx;
    transition: all 0.4s ease-in;
  }

  .swiper-nav__item-active {
    width: 40rpx;
    border-radius: 12rpx;
  }
}


.work {
  padding: 0 30rpx;

  .work-list {
    display: flex;
    margin: 30rpx 0rpx;

    image {
      width: 212rpx;
      height: 212rpx;
      margin-right: 20rpx;
    }

    .work-list-text {
      box-sizing: border-box;
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      height: 212rpx;
      flex: 1;
      color: @font-color;
      padding: 10rpx 0;

      .ellipsis_two_lines {
        color: #000000;
      }
    }
  }
}

.alumni-event {
  padding-bottom: 20rpx;
  swiper {
    // width: 590rpx;
    height: 382rpx
  }

  .swiper-item {
    position: relative;
    width: 590rpx;
    height: 382rpx;

    image {
      width: 100%;
      height: 100%;
      vertical-align: bottom;
      font-size: 0;
    }

    .item-title {
      box-sizing: border-box;
      height: 120rpx;
      padding: 20rpx;
      position: absolute;
      bottom: 0;
      background-color: rgba(255, 255, 255, 0.1);
      font-size: 30rpx;
      color: #ffffff;
      overflow: hidden;
    }
  }
}